import {observable,action} from 'mobx-miniprogram'
export const store = observable({
    list:[],
    Selected_product:[],//已选商品列表
    Total:0,
    addlist: action(function(value){  
        this.list = this.list.concat(value)
      }),

      Selected_product_List:action(function(value) {
          this.Selected_product=this.Selected_product.concat(value)
      }),
      TotalList:action(function (value) {
          this.Total=value
      })
})

